package com.cr.quartz.task;

import com.cr.sync.service.ITbSyncProductionCertificateService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component("countCertDataTask")
public class CountCertDataTask {
    private static final Logger log = LoggerFactory.getLogger(CountCertDataTask.class);

    @Resource
    private ITbSyncProductionCertificateService tbSyncProductionCertificateService;

    public void doSync()
    {
        log.info("------------------ 开始执行合格证数据统计 ----------------------------");
        tbSyncProductionCertificateService.getLsdIndexCount("");
        log.info("------------------ 结束执行合格证数据统计 ----------------------------");
    }

}
